package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskReceiver;
import com.secxiot.provider.task.entity.TaskReceiverExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskReceiverDao {
    long countByExample(TaskReceiverExample example);

    int deleteByExample(TaskReceiverExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskReceiver record);

    int insertSelective(TaskReceiver record);

    List<TaskReceiver> selectByExample(TaskReceiverExample example);

    TaskReceiver selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskReceiver record, @Param("example") TaskReceiverExample example);

    int updateByExample(@Param("record") TaskReceiver record, @Param("example") TaskReceiverExample example);

    int updateByPrimaryKeySelective(TaskReceiver record);

    int updateByPrimaryKey(TaskReceiver record);
}